pull: Show Estimating if we're scanning too
authorColin Walters <walters@verbum.org>
Thu, 19 Jan 2017 10:49:23 +0000 (05:49 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 7 Feb 2017 19:59:40 +0000 (19:59 +0000)
commit425ccc0a33610c71f0258423c83701dc4e273ee7
tree86909931774d0f72bfae544011523a92f22102ab
parentf4d1334e19ce3ab2f8872b1e28da52044f559401
pull: Show Estimating if we're scanning too

The libcurl backend does all the work in the main thread/loop, which
seems to starve the idle scanning worker more.  With the libcurl
backend, we're a lot more likely to have at least one outstanding
metadata request.

But it can more easily transiently happen with libcurl that all of our current
fetches are content. To be accurate here, just show Estimating if we're scanning
too.

Closes: #654
Approved by: jlebon
src/libostree/ostree-fetcher.c
src/libostree/ostree-repo-pull.c
src/libostree/ostree-repo.c